package com.aorise.model.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author:psl
 * @Desicription: 工单设备新增入参实体类
 * @Date:Created in  2019-06-04.
 * @Modified By:
 */
@Data
@ApiModel
public class WorkCameraAddVO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty (value = "工单ID")
    @NotNull(message = "工单ID不能为空")
    private Integer workId;

    @ApiModelProperty (value = "设备ID")
    @NotNull(message = "设备ID不能为空")
    private Integer cameraId;

    @ApiModelProperty (value = "异常类型")
    private Integer exception;

    @ApiModelProperty (value = "报警时间")
    private String alarmTime;

    @Override
    public String toString() {
        return "MigrationCameraAddVO{" +
                ", id='" + id + '\'' +
                ", workId='" + workId + '\'' +
                ", cameraId='" + cameraId + '\'' +
                ", exception='" + exception + '\'' +
                ", alarmTime='" + alarmTime + '\'' +
                '}';
    }
}
